package com.hz.dao;

import com.hz.pojo.UserRecharge;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRechargeDao {

    /**
     * 获取所有充值信息
     * @return
     * @throws Exception
     */
    public abstract List<UserRecharge> getAllUserRecharge(@Param("pages") Integer pages,@Param("pageSize") Integer pageSize,@Param("name") String name)throws Exception;

    /**
     * 获取充值记录数量
     * @return
     * @throws Exception
     */
    public abstract int getAllUserRechargeCount()throws Exception;
}
